
HEADERS += \
    $$PWD/CSerialPortGlobal.h \
    $$PWD/CSerialPortSettings.h \
    $$PWD/osplatformutil.h \
    $$PWD/sigslot.h \
    $$PWD/CSerialPortBase.h \
    $$PWD/CSerialPort.h \
    $$PWD/CSerialPortInfoBase.h \
    $$PWD/CSerialPortInfo.h

SOURCES += \
    $$PWD/CSerialPortGlobal.cpp \
    $$PWD/CSerialPortSettings.cpp \
    $$PWD/CSerialPortBase.cpp \
    $$PWD/CSerialPort.cpp \
    $$PWD/CSerialPortInfoBase.cpp \
    $$PWD/CSerialPortInfo.cpp

win32 {
    message("Building for Windows")
    HEADERS += \
        $$PWD/CSerialPortInfoWinBase.h \
        $$PWD/CSerialPortWinBase.h \

    SOURCES += \
        $$PWD/CSerialPortWinBase.cpp \
        $$PWD/CSerialPortInfoWinBase.cpp \
}

unix {
    message("Building for unix")
    HEADERS += \
        $$PWD/CSerialPortUnixBase.h \
        $$PWD/CSerialPortInfoUnixBase.h \

    SOURCES += \
        $$PWD/CSerialPortUnixBase.cpp \
        $$PWD/CSerialPortInfoUnixBase.cpp \
}
